package com.esoon.activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageButton;

import com.esoon.smartsee.R;

import butterknife.BindView;
import butterknife.ButterKnife;

public class FaceActivity extends AppCompatActivity {
    @BindView(R.id.backToMain)
    ImageButton back;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_face);
        ButterKnife.bind(this);
        back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
    }

    public void onClick(View view) {
        Intent intent = new Intent(this, FaceRecognizeActivity.class);
        startActivity(intent);
        finish();


    }
}
